package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 预约收单对象 web_receive_order
 * 
 * @author ruoyi
 * @date 2021-05-25
 */
@ApiModel("预约收单对象")
public class WebReceiveOrder extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属回收员 */
    @Excel(name = "所属回收员")
    @ApiModelProperty(value = "所属回收员" )
    @NotNull
    private Long userId;

    /** 预约单id */
    @Excel(name = "预约单id")
    @ApiModelProperty(value = "预约单id" )
    @NotNull
    private Long recycleId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    @ApiModelProperty(value = "订单编号" , hidden = true )
    private String orderNo;

    /** 省 */
    @Excel(name = "省")
    @ApiModelProperty(value = "省" , hidden = true )
    private String province;

    /** 市 */
    @Excel(name = "市")
    @ApiModelProperty(value = "市" , hidden = true )
    private String city;

    /** 区 */
    @Excel(name = "区")
    @ApiModelProperty(value = "区" , hidden = true )
    private String district;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ApiModelProperty(value = "详细地址" , hidden = true )
    private String address;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度" , hidden = true )
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度" , hidden = true )
    private String latitude;

    /** 联系人 */
    @Excel(name = "联系人")
    @ApiModelProperty(value = "联系人" , hidden = true )
    private String linkName;

    /** 电话 */
    @Excel(name = "电话")
    @ApiModelProperty(value = "电话" , hidden = true )
    private String mobile;

    /** 订单状态2已接单3已完成4已取消 5其他 */
    @Excel(name = "订单状态2已接单3已完成4已取消 5其他")
    @ApiModelProperty(value = "订单状态2已接单3已完成4已取消 5其他" , hidden = true )
    private Long status;

    /** 实际总重量 */
    @Excel(name = "实际总重量")
    @ApiModelProperty(value = "实际总重量" , hidden = true )
    private Double weight;

    /** 实际总金额 */
    @Excel(name = "实际总金额")
    @ApiModelProperty(value = "实际总金额" , hidden = true )
    private BigDecimal price;

    /** 描述 */
    @Excel(name = "描述")
    @ApiModelProperty(value = "描述" , hidden = true )
    private String comment;

    /** 描述 */
    @Excel(name = "回收类型1单次2定期")
    @ApiModelProperty(value = "回收类型1单次2定期" , hidden = true )
    private Integer type;

    @ApiModelProperty(value = "图片，以逗号分割" )
    private  String images;

    @TableField(exist = false)
    private String realname;

    @TableField(exist = false)
    @ApiModelProperty(value = "对应的下单商品详情")
    private List<WebReceiveList> webReceiveList;

    @TableField(exist = false)
    @ApiModelProperty(value = "对应的预约单信息")
    private Map<String,Object> recycleOrder;

    @TableField(exist = false)
    @ApiModelProperty(hidden = true)
    private String receiveOrderId;

    public Map<String, Object> getRecycleOrder() {
        return recycleOrder;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public void setRecycleOrder(Map<String, Object> recycleOrder) {
        this.recycleOrder = recycleOrder;
    }

    public String getReceiveOrderId() {
        return receiveOrderId;
    }

    public void setReceiveOrderId(String receiveOrderId) {
        this.receiveOrderId = receiveOrderId;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRecycleId(Long recycleId) 
    {
        this.recycleId = recycleId;
    }

    public Long getRecycleId() 
    {
        return recycleId;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setLinkName(String linkName) 
    {
        this.linkName = linkName;
    }

    public String getLinkName() 
    {
        return linkName;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setWeight(Double weight)
    {
        this.weight = weight;
    }

    public Double getWeight()
    {
        return weight;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    public List<WebReceiveList> getWebReceiveList() {
        return webReceiveList;
    }

    public void setWebReceiveList(List<WebReceiveList> webReceiveList) {
        this.webReceiveList = webReceiveList;
    }
}
